package com.hospital.insurancepeople.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 门诊预交金记录
 * </p>
 *
 * @author lvyao
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("OUTP_PREPAY_RCPT")
public class OutpPrepayRcpt implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableField("PATIENT_ID")
    private String patientId;


    @TableId("RCPT_NO")
    private String rcptNo;


    @TableField("AMOUNT")
    private BigDecimal amount;

    @TableField("PAY_WAY")
    private String payWay;


    @TableField("BANK")
    private String bank;


    @TableField("CHECK_NO")
    private String checkNo;


    @TableField("TRANSACT_TYPE")
    private String transactType;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("TRANSACT_DATE")
    private Date transactDate;


    @TableField("OPERATOR_NO")
    private String operatorNo;


    @TableField("REFUNDED_RCPT_NO")
    private String refundedRcptNo;


    @TableField("ACCT_NO")
    private String acctNo;

    @TableField("FP_NO")
    private String fpNo;

    @TableField("DEPARTMENT")
    private String department;

    @TableField("OUTP_OR_INP")
    private String outpOrInp;


    @TableField("TRADE_NO")
    private String tradeNo;

    @TableField("REFUND_TRADE_NO")
    private String refundTradeNo;


}
